<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>车速递租车首页</title>
    <link rel="stylesheet" href="../css/bootstrap.min.css">
    <link rel="stylesheet" href="../layui/css/layui.css"  media="all">
    <link rel="stylesheet" href="../css/pagehome.index.css">
    <script type="application/javascript" src="../js/jquery-3.3.1.js"></script>
    <script type="application/javascript" src="../js/bootstrap.min.js"></script>
    <script type="application/javascript" src="../layui/layui.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/vue"></script>

</head>
<body>

    <div class="layui-carousel" id="test1">
        <div carousel-item>
            <div><img src="https://web-api.chesudi.com/img/ActivityBanner/b8e51e417ef329a28d1f23dcdbf7ee1.jpg" class="imgs"></div>
            <div><img src="https://web-api.chesudi.com/img/ActivityBanner/1456f1ebc5f95ffec6e82c268d969a.jpg" class="imgs"></div>
            <div><img src="https://web-api.chesudi.com/img/ActivityBanner/a6c238788168d2b19be377652a64b2.jpg" class="imgs"></div>
            <div><img src="https://web-api.chesudi.com/img/ActivityBanner/85f2b3ee429949f8166a50453baf3821.jpg" class="imgs"></div>
            <div><img src="https://web-api.chesudi.com/img/ActivityBanner/41e0dcc07c0cc4613493eeaaa4f3818.jpg" class="imgs"></div>
        </div>
    </div>
    <!-- 条目中可以是任意内容，如：<img src=""> -->

    <script src="/static/build/layui.js"></script>
    <script>
        layui.use('carousel', function(){
            var carousel = layui.carousel;
            //建造实例
            carousel.render({
                elem: '#test1'
                ,width: '100%' //设置容器宽度
                ,arrow: 'always' //始终显示箭头
                //,anim: 'updown' //切换动画方式
            });
        });
    </script>

</body>
</html>